﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CaseManagerLibrary.Models
{
    public class HResult<T>
    {
        public bool success { get; set; }
        public string message { get; set; }
        public T data { get; set; }
    }

    public class HResult
    {
        public bool success { get; set; }
        public string message { get; set; }
        public object data { get; set; }
    }

    public class PageResult<TEntity>
    {
        public IEnumerable<TEntity> Entities { get; set; }

        public int Count { get; set; }
    }
}
